package com.eco.dao.ds1;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eco.entity.AiFishEntity;
import com.eco.entity.AiFishTypeEntity;
import com.eco.entity.ChartDTO;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface AiFishMapper {
    int updateByAiFishEntity(AiFishEntity paramAiFishEntity);

    IPage<AiFishEntity> findByDates(IPage<AiFishEntity> page, @Param("startDate") String paramString1, @Param("endDate") String paramString2, @Param("direction") String paramString3, @Param("category") String paramString4, @Param("lenMin") Float paramFloat1, @Param("lenMax") Float paramFloat2);

    List<AiFishEntity> findByDatesTime(@Param("startDate") String paramString1, @Param("endDate") String paramString2);

    void deleteById(@Param("ids") int[] paramArrayOfint);

    List<AiFishTypeEntity> findAllFishType();

    List<ChartDTO> getFishCountByEveryday(@Param("startDate") String paramString1, @Param("endDate") String paramString2);

    int countByRecordDate(@Param("startDate") String paramString1, @Param("endDate") String paramString2, @Param("direction") String paramString3, @Param("category") String paramString4, @Param("lenMin") Float paramFloat1, @Param("lenMax") Float paramFloat2);

    int countAll(@Param("swim") String paramString);

    AiFishEntity findById(@Param("id") int paramInt);
}
